Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/Pythonarabe/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
بايثون العرب | Python Arab 🇵🇸 | Telegram Webview: Pythonarabe/1127 -
Telegram Group & Telegram Channel
Forwarded from Learn Python
⌯ ملاحظات حول ( Decorators ):
ـ = = = = = = = = = = = = = = = =
• الديكوريتر يمكنه أن يغلف أكثر من دالة في نفس الوقت، أو حتى يستخدم عدة ديكوريترات فوق نفس الدالة.
• الترتيب مهم عند استخدام أكثر من ديكوريتر، حيث ينفذ الديكوريتر الأقرب للدالة أولًا.
• يمكن استعمال الدوال المضمّنة مثل functools.wraps للحفاظ على معلومات الدالة الأصلية (مثل الاسم والتوثيق) بعد تغليفها.
• يمكن وضع استثناء داخل الديكوريتر لإيقاف البرنامج او التحقق من شروط معينه على سبيل المثال (التحقق من قوة كلمه المرور قبل حفظها في قواعد البيانات، التحقق من صلاحيات المستخدم قبل استخدام الداله، التحقق ما اذا كان المستخدم يملك اشتراك او قد انتهى، الخ...).
ـ = = = = = = = = = = = = = = = = = = = =



tg-me.com/Pythonarabe/1127
Create:
Last Update:

⌯ ملاحظات حول ( Decorators ):
ـ = = = = = = = = = = = = = = = =
• الديكوريتر يمكنه أن يغلف أكثر من دالة في نفس الوقت، أو حتى يستخدم عدة ديكوريترات فوق نفس الدالة.
• الترتيب مهم عند استخدام أكثر من ديكوريتر، حيث ينفذ الديكوريتر الأقرب للدالة أولًا.
• يمكن استعمال الدوال المضمّنة مثل functools.wraps للحفاظ على معلومات الدالة الأصلية (مثل الاسم والتوثيق) بعد تغليفها.
• يمكن وضع استثناء داخل الديكوريتر لإيقاف البرنامج او التحقق من شروط معينه على سبيل المثال (التحقق من قوة كلمه المرور قبل حفظها في قواعد البيانات، التحقق من صلاحيات المستخدم قبل استخدام الداله، التحقق ما اذا كان المستخدم يملك اشتراك او قد انتهى، الخ...).
ـ = = = = = = = = = = = = = = = = = = = =

BY بايثون العرب | Python Arab 🇵🇸


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/Pythonarabe/1127

View MORE
Open in Telegram


🇵🇸 بايثون العرب Python Arab 🇵🇸 Telegram | DID YOU KNOW?

Date: |

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

Telegram auto-delete message, expiring invites, and more

elegram is updating its messaging app with options for auto-deleting messages, expiring invite links, and new unlimited groups, the company shared in a blog post. Much like Signal, Telegram received a burst of new users in the confusion over WhatsApp’s privacy policy and now the company is adopting features that were already part of its competitors’ apps, features which offer more security and privacy. Auto-deleting messages were already possible in Telegram’s encrypted Secret Chats, but this new update for iOS and Android adds the option to make messages disappear in any kind of chat. Auto-delete can be enabled inside of chats, and set to delete either 24 hours or seven days after messages are sent. Auto-delete won’t remove every message though; if a message was sent before the feature was turned on, it’ll stick around. Telegram’s competitors have had similar features: WhatsApp introduced a feature in 2020 and Signal has had disappearing messages since at least 2016.

🇵🇸 بايثون العرب Python Arab 🇵🇸 from ye


Telegram بايثون العرب | Python Arab 🇵🇸
FROM USA